<!DOCTYPE html>
<html lang="ch">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>贪吃蛇</title>
</head>

<body>
  <div id="main">
    <!-- 游戏舞台 -->
    <div id="stage">
      <!-- 蛇🐍 -->
      <div id="snake">
        <div></div>
      </div>
      <!-- 食物 -->
      <div id="food">
        <!-- 加4个小div让食物玩出来花 -->
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
    </div>
    <!-- 记分牌 -->
    <div id="score-panel">
      <div>
        SCORE: <span id="score">0</span>
      </div>
      <div>
        LEVEL:<span id="level">1</span>
      </div>
    </div>

  </div>
  <p>请在电脑端畅玩,你使手机看看斗行了</p>
  <p>方向键控制方向,空格键暂停</p>
  <p>重新开始我还没弄,重开请按F5</p>
</body>

</html>